package com.bougaga.samplespringcloud.kafka.provider;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ApplicationContext;

@SpringBootApplication
@EnableAutoConfiguration
public class KafkaProviderApplication {
	public static void main(String[] args) {
		ApplicationContext applicationContext =  SpringApplication.run(KafkaProviderApplication.class, args);
		 //applicationContext.getBean("kafkaSender");
		//System.out.println("mybean:"+applicationContext.getBean("kafkaSender"));
	}
}
